package com.upcode.weighing.vo.resp.eagle;

import java.io.Serializable;

public class EagleCardUseStateRespVo implements Serializable {
    private String msgType;
    private String msgID;
    /**
     * 流水号
     */
    private String wasteSn;
    /**
     * 处理标志
     * 0：成功； 1：失败；2：终端校验失败
     */
    private String flag;
    /**
     * 网点编号
     */
    private String posID;
    /**
     * 终端机编号
     */
    private String terminalID;
    /**
     * 申请时间
     */
    private String genTime;

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMsgID() {
        return msgID;
    }

    public void setMsgID(String msgID) {
        this.msgID = msgID;
    }

    public String getWasteSn() {
        return wasteSn;
    }

    public void setWasteSn(String wasteSn) {
        this.wasteSn = wasteSn;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getPosID() {
        return posID;
    }

    public void setPosID(String posID) {
        this.posID = posID;
    }

    public String getTerminalID() {
        return terminalID;
    }

    public void setTerminalID(String terminalID) {
        this.terminalID = terminalID;
    }

    public String getGenTime() {
        return genTime;
    }

    public void setGenTime(String genTime) {
        this.genTime = genTime;
    }

    public enum DebitCardRespEnum {

        flag_true(0,"成功"),
        flag_false(1,"失败"),
        flag_checkFalse(2,"终端校验失败")
        ;

        private int value;
        private String msg;

        DebitCardRespEnum(int value, String msg) {
            this.msg = msg;
            this.value = value;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}
